// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import '@/style/common.css'
import '@/style/iconfont.css'
import iView from 'iview';
import 'iview/dist/styles/iview.css';
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import '@/config/rem.js'
import FastClick from 'fastclick'


if ('addEventListener' in document) {
	document.addEventListener('DOMContentLoaded', function() {
		FastClick.attach(document.body);
	}, false);
}

Vue.config.productionTip = false
Vue.use(iView);
Vue.use(MintUI)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
